package com.bea.ftd.common.utils;

import com.bea.ftd.common.enums.ErrorCode;
import com.bea.ftd.common.model.BaseResponse;

public class SystemUtil {

    public static void handleResponse(BaseResponse response, ErrorCode errorCode){
        response.setErrorCode(errorCode.getErrorCode());
        response.setErrorMsg(errorCode.getErrorMsg());
    }
}
